//package com.ysl.photo;
//
//import android.util.Size;
//
//
//public class CompareSizeByArea implements java.util.Comparator<Size> {
//    @Override
//    public int compare(Size lhs, Size rhs) {
//        // We cast here to ensure the multiplications won't overflow
//        return Long.signum((long) lhs.getWidth() * lhs.getHeight() -
//                (long) rhs.getWidth() * rhs.getHeight());
//    }
//}
